package com.agy.filemanager.service.impl;

import com.agy.filemanager.entity.Control;
import com.agy.filemanager.mapper.ControlMapper;
import com.agy.filemanager.service.ControlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ControlServiceImpl implements ControlService {

    @Autowired
    private ControlMapper controlMapper;

    @Override
    public Control getControlById(String id) {
        Control control = controlMapper.selectByPrimaryKey(id);
        return control;
    }


}
